package main;

public class CONSTANTS {
    public static final double DEFAULT_LEFT_CANNY_THRESHOLD = 190.0;
    public static final double DEFAULT_RIGHT_CANNY_THRESHOLD = 350.0;

    // Minimal distance between finger tips
    public static final double DISTANCE_THRESHOLD = 50.0;
    public static final double ANGLE_THRESHOLD = 50.0;
    // Param for "matchShape" function
    public static final double COMPARISON_THRESHOLD = 8.0;
    public static final double AREA_THRESHOLD = 6000;
    // Given in percent
    public static final double MAX_DISTANCE_FROM_TOP = 8.0;

    // Values indicate the factor by which the average hue value will be
    // multiplied
    public static final double DEFAULT_LOWER_HUE_THRESHOLD = 1.6;
    public static final double DEFAULT_UPPER_HUE_THRESHOLD = 2.4;

    public static final int FOUND_UNKNOWN = 0;
    public static final int FOUND_BOTH = 1;
    public static final int FOUND_LEFT = 2;
    public static final int FOUND_RIGHT = 3; // Not used as reference any more

    public static final int OPEN_CLOSE_OPS_COUNT = 5;

    public static final int CONTOUR_THICKNESS = 6;

    public static final int DETECTION_METHOD_HUE = 0;
    public static final int DETECTION_METHOD_CONTOUR = 1;

    //Thresholds for detecting extreme intensity values that should be eliminated
    public static final int DEFAULT_LOWER_GRAY_THRESHOLD = 100;
    public static final int DEFAULT_UPPER_GRAY_THRESHOLD = 230;
}
